<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="./src/taro/css/components/picker/index.css">
</head>
<body>
  <div id="root"></div>
  <script src="https://cdn.bootcdn.net/ajax/libs/react/18.0.0/umd/react.development.js"></script>
  <script src="https://cdn.bootcdn.net/ajax/libs/react-dom/18.0.0/umd/react-dom.development.js"></script>
  <script src="./src/taro/components/picker/index.js"></script>
  <script>
    // 创建一个新的 React 元素
    const element = React.createElement('div', {}, React.createElement(window.NativeComponent.default, {
      list: ['a', 'b', 'c'],
      title: "test",
      onButtonClick: () => {
        console.log('click')
      }
    }))
    ReactDOM.render(element, document.getElementById('root'))
  </script>
</body>
</html>